<?php

namespace App\Library\Requests\Logistic;

use App\Library\Requests\Base\SerialNumberRequest;
use App\Library\Rules\ExpressesNoRule;

class LogisticEditRequest extends SerialNumberRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'expressNo' => ['required', 'string', 'max:255', new ExpressesNoRule()]
        ]);
    }
}
